<template>
	<view >
		<cu-custom :isBack="true" bgColor="bg-white">
			<block slot="content">
				<view class="custom-title">上传碳足迹模板</view>
			</block>
		</cu-custom>
		<view class="padding-top-48 padding-left-32 padding-right-32">
			<view class="m-title">模板名称：</view>
			<input v-model="value" placeholder="请输入企业区块链地址" class="input-class" type="text"/>
			
			<view class="m-title margin-top-48">上传文件：</view>
			<view class="file-up-content margin-top-12">
				<image src="https://txr001.zthj.net/static/img/fileUpload.png" class="img-48"></image>
			</view>
			<view class="padding-top-32 update-info">
				注:单次只能上传一个文件,支持Word文件类型，文件大小不超过5MB。
			</view>
			
		</view>
		<view class="footer">
			<button class="cu-btn sub-btn">提交</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				type:"",
				value:""
			}
		},
		onLoad(options) {
			this.type=options.type
		},
		methods: {
			
		}
	}
</script>
<style>
	page{background-color: #fff;}
</style>
<style scoped lang="less">
	.m-title{
		font-size: 28rpx;
		font-weight: 500;
		color: #010101;
	}
	.input-class{
		height: 80rpx;
		border-radius: 8rpx;
		margin-top: 12rpx;
		border: 2rpx solid #D9D9D9;
		padding-left: 24rpx;
	}
	.footer{
		width: 100%;
		position: fixed;
		bottom: 100rpx;
		display: flex;
		align-items: center;
		justify-content: center;
		.sub-btn{
			width: 454rpx;
			height: 88rpx;
			background: #24458E;
			border-radius: 44rpx;
			font-size: 32rpx;
			font-weight: 400;
			color: #FFFFFF;
		}
	}
</style>